package com.example.demo.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author T480
 * 文章管理
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_article")
public class ArticlePoJo {

    @ApiModelProperty("id")
    private Integer id;
    @ApiModelProperty("类型")
    private String type;
    @ApiModelProperty("标题")
    private String title;
    @ApiModelProperty("简介")
    private String briefIntroduction;
    @ApiModelProperty("封面图")
    private Long coverImage;
    @ApiModelProperty("来源")
    private String source;
    @ApiModelProperty("备注")
    private String notes;
    @ApiModelProperty("数据状态")
    private Integer articleStatus;

    @ApiModelProperty("创建时间")
    private Date create_time;

    @ApiModelProperty("更新时间")
    private Date update_time;
    @TableField(exist = false)
    private  Integer size;
    @TableField(exist = false)
    private  Integer page;
}
